class CarListEntity {
	int number;
	int numberOfElements;
	int size;
	bool isLast;
	int totalPages;
	List<CarListContent> content;

	CarListEntity({this.number, this.numberOfElements, this.size, this.isLast, this.totalPages, this.content});

	CarListEntity.fromJson(Map<String, dynamic> json) {
		number = json['number'];
		numberOfElements = json['numberOfElements'];
		size = json['size'];
		isLast = json['isLast'];
		totalPages = json['totalPages'];
		if (json['content'] != null) {
			content = new List<CarListContent>();(json['content'] as List).forEach((v) { content.add(new CarListContent.fromJson(v)); });
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['number'] = this.number;
		data['numberOfElements'] = this.numberOfElements;
		data['size'] = this.size;
		data['isLast'] = this.isLast;
		data['totalPages'] = this.totalPages;
		if (this.content != null) {
      data['content'] =  this.content.map((v) => v.toJson()).toList();
    }
		return data;
	}
}

class CarListContent {
	String no;
	int enterAuditStatus;
	int tidyStatus;
	String categoryNames;
	String vehicleNo;
	String tidyStatusName;
	int outAuditStatus;
	String outAuditStatusName;
	String createdTime;
	String enterAuditStatusName;
	List<CarListContentDetail> details;
	int id;
	String vehicleType;

	CarListContent({this.no, this.enterAuditStatus, this.tidyStatus, this.categoryNames, this.vehicleNo, this.tidyStatusName, this.outAuditStatus, this.outAuditStatusName, this.createdTime, this.enterAuditStatusName, this.details, this.id, this.vehicleType});

	CarListContent.fromJson(Map<String, dynamic> json) {
		no = json['no'];
		enterAuditStatus = json['enterAuditStatus'];
		tidyStatus = json['tidyStatus'];
		categoryNames = json['categoryNames'];
		vehicleNo = json['vehicleNo'];
		tidyStatusName = json['tidyStatusName'];
		outAuditStatus = json['outAuditStatus'];
		outAuditStatusName = json['outAuditStatusName'];
		createdTime = json['createdTime'];
		enterAuditStatusName = json['enterAuditStatusName'];
		if (json['details'] != null) {
			details = new List<CarListContentDetail>();(json['details'] as List).forEach((v) { details.add(new CarListContentDetail.fromJson(v)); });
		}
		id = json['id'];
		vehicleType = json['vehicleType'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['no'] = this.no;
		data['enterAuditStatus'] = this.enterAuditStatus;
		data['tidyStatus'] = this.tidyStatus;
		data['categoryNames'] = this.categoryNames;
		data['vehicleNo'] = this.vehicleNo;
		data['tidyStatusName'] = this.tidyStatusName;
		data['outAuditStatus'] = this.outAuditStatus;
		data['outAuditStatusName'] = this.outAuditStatusName;
		data['createdTime'] = this.createdTime;
		data['enterAuditStatusName'] = this.enterAuditStatusName;
		if (this.details != null) {
      data['details'] =  this.details.map((v) => v.toJson()).toList();
    }
		data['id'] = this.id;
		data['vehicleType'] = this.vehicleType;
		return data;
	}
}

class CarListContentDetail {
	int imageId;
	String imageUrl;
	String categoryName;
	int categoryId;

	CarListContentDetail({this.imageId, this.imageUrl, this.categoryName, this.categoryId});

	CarListContentDetail.fromJson(Map<String, dynamic> json) {
		imageId = json['imageId'];
		imageUrl = json['imageUrl'];
		categoryName = json['categoryName'];
		categoryId = json['categoryId'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['imageId'] = this.imageId;
		data['imageUrl'] = this.imageUrl;
		data['categoryName'] = this.categoryName;
		data['categoryId'] = this.categoryId;
		return data;
	}
}
